<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">

<div class="t3js-upgrade-doc panel panel-rst panel-{fileArray.class} risk-medium item" data-item-tags="{fileArray.tagList}" data-item-version="{fileArray.version}" data-item-state="{state}" id="heading{id}">
	<div class="panel-heading" role="tab">
		<h3 class="panel-title">
			<f:if condition="{read}">
				<f:then>
					<a class="link-action t3js-upgradeDocs-unmarkRead pull-right" data-filepath="{fileArray.filepath}" data-toggle="tooltip" data-placement="top" title="Mark as not read">
						<i class="fa fa-lg fa-ban"></i>
						<span class="sr-only">restore this document</span>
					</a>
				</f:then>
				<f:else>
					<a class="link-action t3js-upgradeDocs-markRead pull-right" data-filepath="{fileArray.filepath}" data-toggle="tooltip" data-placement="top" title="Mark as read">
						<i class="fa fa-lg fa-check"></i>
						<span class="sr-only">ignore this document</span>
					</a>
				</f:else>
			</f:if>
			<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse{id}" aria-expanded="true" aria-controls="collapse{id}" class="collapsed">
				<span class="caret"></span>
				<strong>{fileArray.headline}</strong>
			</a>
		</h3>
	</div>
	<div id="collapse{id}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading{id}">
		<div class="rst-tags t3js-tags"></div>
		<pre><f:format.raw>{fileArray.parsedContent}</f:format.raw></pre>
	</div>
</div>

</html>
